{include file="zp_includetop" /}
{include file="list_seo_title" /}
{include file="zp_include" /}
<link href="{$apicss}skin/css/vod.css" rel="stylesheet">
</head>
<body>
{include file="zp_header" /}
<div class="d-pop"></div>
<div class="wp clearfix">
    <div class="d-position"><a href="{$siteurl}" title="{$sitename}">首页</a><span>/</span>{eq name="list_pid" value="0"}<a class="current" href="{$list_url}" title="{$list_name}">{$list_name}</a>{else/}<a href="{:getlistname($list_pid,'list_url')}" title="{:getlistname($list_pid,'list_name')}">{:getlistname($list_pid,'list_name')}</a><span>/</span><a class="current" href="{$list_url}" title="{$list_name}">{$list_name}</a>{/eq}</div>
    <div class="d-list-type">
        <div class="d-list-nav">
            <div class="d-list-tool">
                <h4 class="name fl"></h4>
                <span><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>"",'area'=>"",'year'=>"",'letter'=>"",'order'=>"",'lz'=>"",'p'=>""))}">重置条件</a></span>
                <ul class="conbread">
                    {notempty name="param.mcid"}
                    <li>{$param['mcid']|mcat_title}<i class="iconfont"><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>"",'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.area"}
                    <li>{$param['area']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>"",'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.year"}
                    <li>{$param['year']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"",'letter'=>$param['letter'],'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                    {notempty name="param.letter"}
                    <li>{$param['letter']}<i class="iconfont"><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>"",'order'=>$param['order']))}">&#xe64d;</a></i></li>
                    {/notempty}
                </ul> 
            </div>
            <h2>分类索引</h2>
        </div>
        <div class="d-type-box">
            {php}$array_listid = getlistall($list_pid);{/php}
            {if condition="(!empty($array_list)) or (!empty($array_listid))"}
            <div class="d-type-list">
                <h5>分类：</h5>
                <ul>
                {notempty name="array_listid"}
                    <li><a {eq name="list_pid" value="0"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a></li>
                    {volist name="array_listid" id="zplist"}
                    <li><a {eq name="list_id" value="$zplist.list_id"}class="current"{/eq} href="{$zplist.list_url}">{$zplist.list_name}</a></li>
                    {/volist}
                {else /}
                    <li><a {eq name="list_pid" value="0"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a></li>
                    {volist name="array_list" id="zplist"}
                    <li><a {eq name="list_id" value="$zplist.list_id"}class="current"{/eq} href="{$zplist.list_url}">{$zplist.list_name}</a></li>{/volist}            
                {/notempty}
                </ul>
            </div>
            {/if}
            <div class="d-type-list">
                <h5>类型：</h5>
                <ul>
                    <li><a {empty name="param.mcid"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>"",'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a></li>
                    {volist name="mcatlist" id="cat_menu" offset="0" length='100'}
                    <li><a {eq name="cat_menu.m_cid" value="$param['mcid']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$cat_menu['m_cid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">{$cat_menu.m_name}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="d-type-list">
                <h5>地区：</h5>
                <ul>
                    <li><a rel="nofollow" {empty name="param.area"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>"",'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a></li> 
                    {volist name="s_area" id="area" offset="0" length='100'}
                    <li><a {eq name="area" value="$param['area']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($area),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))} ">{$area}</a></li>
                    {/volist}
                </ul>
            </div>
            <div class="d-type-list">
                <h5>年代：</h5>
                <ul>
                    <li><a rel="nofollow" {empty name="param.year"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"",'letter'=>$param['letter'],'order'=>$param['order']))}">全部</a></li>
                    {volist name="s_year" id="year" offset="0" length='19'}
                    <li><a {eq name="year" value="$param['year']"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$year,'letter'=>$param['letter'],'order'=>$param['order']))}">{$year}</a></li>
                    {/volist}
                    <li><a {eq name="u_year" value="1990,1999"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1990,1999",'letter'=>$param['letter'],'order'=>$param['order']))}">90年代</a></li>
                    <li><a {eq name="u_year" value="1980,1989"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1980,1989",'letter'=>$param['letter'],'order'=>$param['order']))}">80年代</a></li>
                    <li><a {eq name="u_year" value="1900,1980"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>"1900,1980",'letter'=>$param['letter'],'order'=>$param['order']))}">更早</a>  </li>
                </ul>
            </div>
            <div class="d-type-list list_s_letter">
                <h5>字母：</h5>
                <ul>
                    <li><a rel="nofollow" {empty name="param.letter"}class="current"{/empty} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>"",'order'=>$param['order']))}">全部</a></li>
                    {volist name="s_letter" id="letter"}
                    <li><a rel="nofollow" href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$letter,'order'=>$param['order']))}" {eq name="letter" value="$param['letter']"}class="current"{/eq}>{$letter}</a></li>{/volist}
                    <li>
                    <a {eq name="u_letter" value="0,1,2,3,4,5,6,7,8,9"}class="current"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>"0,1,2,3,4,5,6,7,8,9",'order'=>$param['order']))}">0-9</a></li>
                </ul>
            </div>
        </div>
    </div>
    {php}    
        if($param[order]){
            $s_order=$param[order]." desc";
        }else{
            $s_order="addtime desc";
        }
        $vod_list=zanpian_mysql_vod('mcid:'.$param['mcid'].';cid:'.$list_id.';year:'.$param[year].';letter:'.$param[letter].';area:'.$param[area].';language:'.$param[language].';field:vod_id,vod_cid,vod_name,vod_director,vod_letters,vod_pic,vod_gold,vod_continu,vod_title,vod_total,vod_actor,vod_mcid,vod_year,vod_addtime,vod_content;limit:30;page:true;p:'.$list_page.';cahce_name:default;cahce_time:600;order:vod_'.$s_order.';');
	{/php}
    <div class="wp mt15 clearfix">
        <div class="d-warp-left fl">
            <div class="d-star-fliter">
                <div class="d-star-fbox"><span>排序：</span>
                    <a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'addtime'))}" {php} if($param[order]=="") echo "class='newico curr'"; else if($param[order]=="addtime") echo "class='newico curr'"; else echo "class='newico'"{/php}>最新</a><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'hits'))}" {php} if($param[order]=="hits") {echo "class='curr hotico'";}else{echo "class='hotico'";}{/php}>人气</a><a href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>'gold'))}" {php} if($param[order]=="gold") {echo "class='curr gode'";}else{echo "class='gode'";}{/php}>评分</a>
                </div>
            </div>
            <div class="d-item-list clearfix" id="contents">
                {notempty name="vod_list"}
                {volist name="vod_list" id="zanpian"}
                {include file="plain_index_list" /}
                {/volist}
                {else/}
                <div class="kong">抱歉，没有找到相关内容！</div>
                {/notempty}
            </div>
            <div class="tab-a uipages pages w1214" id="long-page"><ul class="pagination"><span class="total">共{$vod_list.0.page.pagecount}条数据&nbsp;页次:{$vod_list.0.page.currentpage}/{$vod_list.0.page.totalpage}页</span>{$vod_list.0.page.pageurl}</ul></div>
        </div>
        {include file="plain_vodright" /}
    </div>
</div>
{include file="zp_footer" /}
</body>
</html>